package qdf.app.view.activity

import com.base.core.BaseModuleActivity
import com.lib.base.data.xsos.User
import com.lib.base.data.xsos.UserEntity
import com.lib.base.router.ARouterUtils
import com.lib.base.router.app.AppPath
import com.lib.base.router.xsos.XSPath
import kotlinx.android.synthetic.main.app_activity_splash.*
import qdf.app.R

class SplashActivity : BaseModuleActivity() {
    /**  布局id---2019-06-13 */
    override val layoutId: Int? = R.layout.app_activity_splash

    /**获取数据*/
    override fun getData() {
    }

    override fun initView() {

        var user = UserEntity("ddd", "2", "")

        var list = mutableListOf<UserEntity>()
        list.add(user)
        list.add(user)
        list.add(user)
        var u = User("ddd", "dd", 22)
//            .withString("name2", "ruhaly").withObject("user", user).withObject("u", u)
//            .withObject("list", list)
        textView.setOnClickListener {
            ARouterUtils.build(XSPath.LOGIN)
                .navigation()
        }

    }
}